home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 December
/
Chip_2001-12_cd1.bin
/
zkuste
/
tuning
/
download
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ IE Outlook Express 2.xpl
< prev
next >
Wrap
Text File
|
2001-05-14
|
2KB
|
72 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="3"
"COUNT"="1"
"UIPATH"="Internet\Outlook Express\Data Storage"
"NAME"="Address Book"
"VERSION"="1.14"
"LANGUAGE"="VBScript"
"TEXT 1"="Address Book"
"DATA 1"="WAB Files (*.wab)|*.wab"
"DESCRIPTION 1"="If you do not like the default location of your Outlook Express Address Book, you can change it here."
"DESCRIPTION 2"="Please select the new location for the address book (WAB) file and the file will be moved there."
"DESCRIPTION 3"="Remember to exit Outlook Express before applying the change!"
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"=" "
"COMMENT 3"="Thanks to Bj÷rn Teichmann and Marco Schelling for this setting."
"COMMENT 4"="Thanks to James_R_Morris_Jr [James_R_Morris_Jr@ims.msn.com] for the spelling correction."
'sPath="HKCU\Software\Microsoft\WAB\WAB4_1\Wab File Name\"
sPath="HKCU\Software\Microsoft\WAB\WAB4\Wab File Name\"
sPath2=sPath & "@"
sOld=""
Sub Plugin_Initialize
if RegPathExists(sPath) then
s=RegReadValue(sPath2)
SetUIElement 1,s
sOld=s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if s<>"" then
if UCase(right(s,3))<>"WAB" then
Call MsgError("Please enter the name and path of the WAB file, for example C:\DATA\ADDRB.WAB. Do not forgot the WAB extension.")
else
if FileExists(s)=true then
Call MsgError("The selected file already exists! Please choose a different name.")
else
'looks OK, let's try it
Call FileCopy(sOld,s)
Call RegWriteValue(sPath2,s,4)
Call FileDelete(sOld)
Call MsgInformation("File has been moved to " & s & ".")
end if
end if
else
Call MsgError("Please supply a location for the WAB file!")
end if
End Sub
Sub Plugin_Terminate
End Sub